<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<center>
	<html:form action="vendor">
	<table><tr><td align="center"><h2>Vendor</h2></td></tr></table>
	<table  align="left" width="100%">
	  <tr>
	    <td width="100% align="left">
	      <table>
	        <tr>
	          <td width="25%" align="left">Vendor ID</td>
	          <td width="25%"  ><html:text property="vendorid" styleId="vendorid"></html:text></td>
	          <td width="25%"  align="left">Vendor Name</td>
	          <td width="25%"  ><html:text property="vendorname" styleId="vendorname"></html:text></td>
	        </tr>
	        <tr>
	          <td width="25%" align="left">Contact Person</td>
	          <td width="25%"  ><html:text property="contactperson" styleId="contactperson"></html:text></td>
	          <td width="25%"  align="left">Contact Number</td>
	          <td width="25%"  ><html:text property="contactpersonnumber" styleId="contactpersonnumber"></html:text></td>
	        </tr>
	         <tr>
	          <td width="25%" align="left">isRegistered</td>
	          <td width="25%"  ><html:select property="isregistered" styleId="isregistered"><html:option value="yes">Yes</html:option><html:option value="no">No</html:option></html:select></td>
	          <td width="25%"  align="left">Register Number</td>
	          <td width="25%"  ><html:text property="registernumber" styleId="registernumber"></html:text></td>
	        </tr>
	        <tr>
	          <td width="25%" align="left">Tin Number</td>
	          <td width="25%"  ><html:text property="tinnumber" styleId="tinnumber"></html:text></td>
	          <td width="25%"  align="left">Mode of Transport+</td>
	          <td width="25%"  ><html:text property="modeoftransport" styleId="modeoftransport"></html:text></td>
	        </tr>
	         <tr>
	          <td width="100%" align="left" colspan="4"><h3>Contact Address</h3></td>
	         </tr> 
	        <tr>
	          <td width="25%" align="left">Address Line1</td>
	          <td width="25%"  ><html:text property="contactpersonaddress1" styleId="contactpersonaddress1"></html:text></td>
	          <td width="25%"  align="left">Address Line2</td>
	          <td width="25%"  ><html:text property="contactpersonaddress2" styleId="contactpersonaddress2"></html:text></td>
	        </tr>
	        <tr>
	          <td width="25%" align="left">Country</td>
	          <td width="25%"  ><html:text property="contactpersoncountry" styleId="contactpersoncountry"></html:text></td>
	          <td width="25%" align="left" >State</td>
	          <td width="25%"  ><html:text property="contactpersonstate" styleId="contactpersonstate"></html:text></td>
	        </tr>
	        <tr>
	          <td width="25%" align="left">City</td>
	          <td width="25%"  ><html:text property="contactpersoncity" styleId="contactpersoncity"></html:text></td>
	          <td width="25%" align="left" >Zipcode</td>
	          <td width="25%"  ><html:text property="contactpersonpincode" styleId="contactpersonpincode"></html:text></td>
	        </tr>
	        <tr>
	          <td width="25%" align="left">Email ID</td>
	          <td width="25%"  ><html:text property="contactpersonemailid" styleId="contactpersonemailid"></html:text></td>
	          <td width="25%"  align="left">Landline No</td>
	          <td width="25%"  ><html:text property="contactpersontelephone" styleId="contactpersontelephone"></html:text></td>
	        </tr>
	        
	         <tr>
	          <td width="100%" align="left" colspan="4"><h3>Permanent Address</h3></td>
	         </tr> 
	        <tr>
	          <td width="25%" align="left">Address Line1</td>
	          <td width="25%"  ><html:text property="address1" styleId="address1"></html:text></td>
	          <td width="25%"  align="left">Address Line2</td>
	          <td width="25%"  ><html:text property="address2" styleId="address2"></html:text></td>
	        </tr>
	        <tr>
	          <td width="25%" align="left">Country</td>
	          <td width="25%"  ><html:text property="country" styleId="country"></html:text></td>
	          <td width="25%" align="left" >State</td>
	          <td width="25%"  ><html:text property="state" styleId="state"></html:text></td>
	        </tr>
	        <tr>
	          <td width="25%" align="left">City</td>
	          <td width="25%"  ><html:text property="city" styleId="city"></html:text></td>
	          <td width="25%" align="left" >Zipcode</td>
	          <td width="25%"  ><html:text property="pincode" styleId="pincode"></html:text></td>
	        </tr>
	        <tr>
	          <td width="25%" align="left">Email ID</td>
	          <td width="25%"  ><html:text property="emailid" styleId="emailid"></html:text></td>
	          <td width="25%"  align="left">Landline No</td>
	          <td width="25%"  ><html:text property="landlinenumber" styleId="landlinenumber"></html:text></td>
	        </tr>
	        
	        	        
	         <tr>
	          <td width="100%" align="left" colspan="4"><h3>Account Information</h3></td>
	         </tr> 
	        <tr>
	          <td width="25%" align="left">Account Number</td>
	          <td width="25%"  ><html:text property="accountnumber" styleId="accountnumber"></html:text></td>
	          <td width="25%"  align="left">Account Holder Name</td>
	          <td width="25%"  ><html:text property="accountholdername" styleId="accountholdername"></html:text></td>
	        </tr>
	        <tr>
	          <td width="25%" align="left">Account Type</td>
	          <td width="25%"  ><html:text property="acoounttype" styleId="acoounttype"></html:text></td>
	          <td width="25%" align="left" >Bank</td>
	          <td width="25%"  ><html:text property="bank" styleId="bank"></html:text></td>
	        </tr>
	        <tr>
	          <td width="25%" align="left">Branch</td>
	          <td width="25%"  ><html:text property="branch" styleId="branch"></html:text></td>
	          <td width="25%" align="left" >ifsc Code</td>
	          <td width="25%"  ><html:text property="ifsccode" styleId="ifsccode"></html:text></td>
	        </tr>
	        <tr>
	          <td width="25%" align="left">Mode of Payment</td>
	          <td width="25%"  ><html:text property="modeofpayment" styleId="modeofpayment"></html:text></td>
	          <td width="25%"  align="left">PAN Number</td>
	          <td width="25%"  ><html:text property="pannumber" styleId="pannumber"></html:text></td>
	        </tr>
	        
	      </table>
	    </td>
	  </tr>
	</table>
	<table>
	<tr>
	<td align="center">
	<html:submit property="method" styleId="method" value="save"></html:submit>
	<html:submit property="method" styleId="method" value="search"></html:submit>
	<html:submit property="method" styleId="method" value="delete"></html:submit>
	</td>
	</tr>
	</table>
	
	</html:form>
</center>
</body>
</html>